
from typing_extensions import Final

from .. import __version__

APPLICATION_TITLE: Final[str] = "星火应用商店终端版"

SPARK_STORE_UPLOAD_URL: Final[str]  = 'https://upload.deepinos.org/'

SPARK_STORE_PREIFX_URL: Final[str] = "https://mirrors.sdu.edu.cn/spark-store/"

SPARK_STORE_DEFAULT_URL: Final[str] = SPARK_STORE_PREIFX_URL + "store/Packages"

SPARK_VAR_LIB_APTSS_x86_64: Final[str] = '/var/lib/aptss/lists/d.spark-app.store_store_Packages'
SPARK_VAR_LIB_APTSS_aarch64: Final[str] = '/var/lib/aptss/lists/d.spark-app.store_store_Packages'
SPARK_VAR_LIB_APTSS_loong64: Final[str] = '/var/lib/aptss/lists/d.spark-app.store_store_Packages'


SPARK_STORE_CATEGORIES: Final[list[str]] = [
    'chat',
    'development',
    'games',
    'image_graphics',
    'music',
    'network',
    'office',
    'others',
    'reading',
    'themes',
    'tools',
    'video',
]

SPARK_STORE_CATEGORIES_CN: Final[list[str]] = [
    "社交沟通",
    "编程开发",
    "游戏娱乐",
    "图形图像",
    "音乐欣赏",
    "网络应用",
    "办公学习",
    "其他应用",
    "阅读翻译",
    "主题美化",
    "系统工具",
    "视频播放"
]

SPARK_STORE_ROLE_INSTALLED: Final[str] = "已安装"
SPARK_STORE_ROLE_UPDATABLE: Final[str] = "可更新"
SPARK_STORE_ROLE_NO_EXISTS: Final[str] = "未安装"

SPARK_STORE_APP_TOOL_APT: Final[str] = "aptss"
